<include file="Public:header" />


    <div class="listbox">
                <div class="listhead">
                    <h3>管理员列表
                        <a href="{:U('Admin/System/add')}" style="display: inline-block;float: right;margin-right: 50px;font-size: 0.8em;color: blue;">新增管理员</a>
                    </h3>
                </div>
                <div class="listmain">
                <table class="list_g_permit_tab1">
                <tbody>

                <tr>
                    <td class="td_num">编号</td>
                    <td class="td_time">姓名</td>
                    <td class="td_name">单位</td>
                    <td class="td_status">角色</td>
                    <td class="td_remark">操作</td>
                </tr>
                </tbody>
                </table>

                <div class="listdiv">
                <ul>

                <foreach name="list" item="l_val" key="l_k">
                    <li>
                        <span class="list_num">{$l_val.staff_id}</span>
                        <span class="list_time">{$l_val.staff_name}</span>
                        <span class="list_name">{$l_val.staff_unit}</span>
                        <span class="list_status"><?php echo $roleid_and_name[$l_val['role_id']] ?></span>
                        <span class="list_remark">
                            <a href="{:U('Admin/System/allocate',array('staff_id'=>$l_val['staff_id']))}">房间分配</a>
                        </span>
                    </li>
                </foreach>


                </ul>
                </div>
                    
                </div>
                <div class="listbottom">
                {$page}

                    <!-- 共<em>1</em>条，分<em>1</em>页，当前第<em>1</em>页 &nbsp &nbsp <a href="#">最前页</a>&nbsp <a href="#">上一页</a>&nbsp <a href="#">下一页</a>&nbsp <a href="#">最末页</a>&nbsp  -->
                
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    function allcote(staff_id){

    }
</script>
</body>
</html>
